package com.lzp.appexp

/**
 * @describe:
 * @Author: lixiaopeng
 * @Date: 2021/5/31
 */
class SingleInstance {

    private val listeners = mutableListOf<Any>()

    companion object {
        val instance by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
            SingleInstance()
        }
    }
}